package com.steven.ourcontest.information.view

import android.os.Bundle
import com.steven.ourcontest.R
import com.steven.ourcontest.app.AppRouter
import com.steven.ourcontest.base.BaseActivity
import com.steven.ourcontest.utils.Identity
import kotlinx.android.synthetic.main.activity_select_identity.*

class SelectIdentityActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    }

    override fun getViewId(): Int? {
        return R.layout.activity_select_identity
    }

    override fun initView() {
        tv_teacher?.setOnClickListener {
            AppRouter.startUploadStudentImageActivity(this,Identity.TEACHER)
            finish()
        }
        tv_student.setOnClickListener {
            AppRouter.startUploadStudentImageActivity(this,Identity.STUDENT)
            finish()
        }
    }
}